<div class="group">    
<?php if($this->showtype == H_Description::CATE_SHOW_GROUP) :?>
    <h4><?php echo $this->lable ?></h4>
    <?php if (!empty($this->data)): ?>
        <?php foreach ($this->data as $item): ?>
            <div class="groupitem">
                <div class="title">
                    <?php
                        $check = preg_match("/".$item['id']."/i", $this->catString)?"checked=\"checked\"":"";
                    ?>
                    <input type="checkbox" <?php echo $check; ?> name="cat[]" value="<?php echo $item['id'] ?>" class="checkgroup" />&nbsp;<?php echo $item['title'] ?>
                </div>
                <div class="box">
                    <?php echo $this->outputCate($item['child'],$this->catString); ?>
                </div>
            </div>
        <?php endforeach; ?>
    <?php else: ?>
        <?php echo $this->t('Khong ton tai phan loai tin tuc'); ?>
    <?php endif; ?>
<?php else:?>
    <h4><?php echo $this->lable ?>:
        <?php echo $this->outputCateCombobox($this->data,$this->currentId,$this->catString); ?>
    </h4>
    
<?php endif; ?>
    <div style="clear: both;"></div>
</div>
